From aafdb94b17ba9cc0234af1ba4663a9e3a1658087 Mon Sep 17 00:00:00 2001 From: "dan@guaranine.beaverton.ibm.com" Date: Thu, 17 Nov 2005 11:58:36 +0100 Subject: [PATCH] Update 01_pause_basic test for new console behavior. --- tools/xm-test/tests/pause/01_pause_basic_pos.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/xm-test/tests/pause/01_pause_basic_pos.py b/tools/xm-test/tests/pause/01_pause_basic_pos.py index 9d8046411e..58306ae1a8 100644 --- a/tools/xm-test/tests/pause/01_pause_basic_pos.py +++ b/tools/xm-test/tests/pause/01_pause_basic_pos.py @@ -49,12 +49,9 @@ status, output = traceCommand("xm pause %s" % domain.getName()) if status != 0: FAIL("xm pause returned invalid %i != 0", status) -# Attach a console to it +# Try to attach a console to it try: console = XmConsole(domain.getName(), historySaveCmds=True) -except ConsoleError, e: - FAIL(str(e)) -try: run = console.runCmd("ls") #If we get here, console attached to paused domain (unexpected) FAIL("console attached to supposedly paused domain") -- 2.30.2